package uk.co.itmentor.pmff.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Specifies that the class is a section from a flat file.
 *  
 * @author mdylag
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface FlatFileSection {
	/**
	 * Optional name for a section.
	 * @return
	 */
	String name();
	/**
	 * Defines where are the field names (header) as a first row (Horizontal)
	 * or as a first column (Vertical).
	 * @return
	 */
	Orientation orientation() default Orientation.Horizontal;
}
